13. Networking and communications
Group assignment
I2C communication I2C is a serial communication protocol, so data is transferred bit by bit along a single wire. You can know more about it from this great SparkFun tutorial We used I2C protocol to connect between Xaio RP2040 board (Master) and Arduino UNO Slave
Individual assignments
- design, build, and connect wired or wireless node(s) with network or bus addresses
Wireless Networking
I started Connecting NodeMCU to wifi using Arduino IDE (follow this link ), then i tried to blink a LED
.jpg)
Then I tried to use Wifi networking to control 2 Leds (green&red) using mobile application.
.jpg)
.jpg)
.jpg)
UART communication
UART is a hardware communication protocol that uses asynchronous serial communication with configurable speed. Asynchronous means there is no clock signal to synchronize the output bits from the transmitting device going to the receiving end.

Connected 3 Xaio RP2040 using UART protocol. One master & two slaves



I have learned that UARTs are able to communicate in several different modes: full duplex, half duplex (the two devices communicate with each other one at a time) or simplex (the data communication is one way only).